<?php

namespace DebugComponent\Message;

class Time extends Message {

    public function __construct($message, $timeInSecond) {
        parent::__construct($message);
        $timeInSecond = (double)$timeInSecond;
        $this->timeInSecond = $timeInSecond;
    }

    public function getTimeInSecond() {
        return $this->timeInSecond;
    }

    private $timeInSecond;
}